home *** CD-ROM | disk | FTP | other *** search
/ Clickx 115 / Clickx 115.iso / software / tools / windows / tails-i386-0.16.iso / live / filesystem.squashfs / usr / share / nano / python.nanorc < prev    next >
Encoding:
Text File  |  2010-04-15  |  527 b   |  11 lines

  1. ## Here is an example for Python.
  2. ##
  3. syntax "python" "\.py$"
  4. header "^#!.*/python[-0-9._]*"
  5. icolor brightblue "def [0-9A-Z_]+"
  6. color brightcyan "\<(and|as|assert|break|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|not|or|pass|print|raise|return|try|while|with|yield)\>"
  7. color brightgreen "['][^']*[^\\][']" "[']{3}.*[^\\][']{3}"
  8. color brightgreen "["][^"]*[^\\]["]" "["]{3}.*[^\\]["]{3}"
  9. color brightgreen start=""""[^"]" end=""""" start="'''[^']" end="'''"
  10. color brightred "#.*$"
  11.